Skip to content

4146 add troubleshooting section #4181

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 30 commits into
base: main
Choose a base branch
from

Conversation

dhtclk
Copy link
Collaborator

@dhtclk dhtclk commented Jul 28, 2025

Summary

Adding a troubleshooting page to create a space for useful links based on support data. Hopefully boosting discoverability of some existing quality docs and kb articles.

@dhtclk dhtclk requested a review from a team as a code owner July 28, 2025 20:56
@dhtclk dhtclk linked an issue Jul 28, 2025 that may be closed by this pull request
Copy link

vercel bot commented Jul 28, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Project Deployment Preview Comments Updated (UTC)
clickhouse-docs 🔄 Building Preview 💬 Add feedback Aug 12, 2025 9:38am
3 Skipped Deployments
Project Deployment Preview Comments Updated (UTC)
clickhouse-docs-jp ⬜️ Ignored Aug 12, 2025 9:38am
clickhouse-docs-ru ⬜️ Ignored Preview Aug 12, 2025 9:38am
clickhouse-docs-zh ⬜️ Ignored Preview Aug 12, 2025 9:38am

@Blargian
Copy link
Member

@dhtclk LGTM, just two small things to change:

Screenshot 2025-07-29 at 11 31 31

Could we make it just a single menu item rather than a dropdown? I think the expanding tab is only necessary if we have more than one page.

If we're adding here we should probably add it as an item in the top menu:

Screenshot 2025-07-29 at 11 32 37

Copy link
Member

@Blargian Blargian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's get this in soon, just a few small changes to make - see comments.

- [Session memory settings](/docs/operations/settings/settings)
<br/>
### Scaling and sizing: {#scaling-and-sizing}
- [Right-size your service](/docs/operations/tips)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just an idea, but some of these like this one are only really applicable to OSS ClickHouse. Maybe we should mark them with a ⛁ vs ☁️ if they are specific

@dhtclk
Copy link
Collaborator Author

dhtclk commented Aug 6, 2025

@kellytoole I know you also said you wanted to take a look at this. There's a first draft of the "lessons learned" doc in this PR along with the troubleshooting section.

Copy link
Member

@Blargian Blargian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left some comments. I think it would be good to get feedback from some other members of the PM team. Let's ask @gingerwizard to give feedback on the interactive code block sections.

description: 'Learn from the ClickHouse community with real world scenarios and lessons learned'
---

# ClickHouse Community Wisdom: Tips and Tricks from Meetups {#community-wisdom}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# ClickHouse Community Wisdom: Tips and Tricks from Meetups {#community-wisdom}
# ClickHouse community wisdom: tips and tricks from meetups {#community-wisdom}

We had taken to sentence casing, which is how Google does it https://developers.google.com/style/capitalization. I'm not strongly opinionated on which style we have but it will be nice to keep it consistent.

Comment on lines 30 to 36
**Conventional wisdom:** Use Redis for rate limiting.

**Craigslist's breakthrough:** *"Everyone uses Redis for rate limiter implementations... Why not just do it in Redis?"*

**The problem with Redis:** *"Our experience with Redis is not like what you've seen in the movies... weird maintenance issues... we will reboot a node in a Redis cluster and some weird latency spike hits the front end"*

**Test rate limiting logic using ClickHouse approach:**
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • The bold: point format feels too obviously AI generated to me. Wonder if we couldn’t rework these to rather be paragraphs of text. This could just be me though, let's get feedback from others on that.

Also feel that if we're referencing specific companies and quoting from the videos we should probably link to the meetup videos.


**Success pattern:** ClickHouse's speed enables customer-facing applications with sub-second response times, challenging the notion that analytical databases are only for internal use.

### The Rule-Breaking Philosophy {#rule-breaking-philosophy}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be H3 as a sub point of "Customer-Facing Real-Time Applications"?


## Focus on Individual Queries, Not Averages {#focus-on-individual-queries-not-averages}

**Alexey Milovidov's core insight:** *"The right way is to ask yourself why this particular query was processed in five seconds... I don't care if median and other queries process quickly I only care about my query"*
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
**Alexey Milovidov's core insight:** *"The right way is to ask yourself why this particular query was processed in five seconds... I don't care if median and other queries process quickly I only care about my query"*
**Alexey Milovidov's core insight:** *"The right way is to ask yourself why this particular query was processed in five seconds... I don't care if median and other queries process quickly I only care about my query"*

Nit: we should be consistent throughout if we mention the speaker or not

@Blargian
Copy link
Member

Blargian commented Aug 7, 2025

Some feedback around the code block:

  • Small styling issue with scroll bar visible in footer
  • Scrolling in the interactive code block feels a little awkward. If you press run the result window expands but you can’t scroll down from within the code block.
  • Some small tweaks needed with styling to code
    block when an error occurs (see screen shot) Screenshot 2025-08-07 at 20 44 24
Screenshot 2025-08-07 at 20 39 51

@Blargian Blargian linked an issue Aug 7, 2025 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Troubleshooting Section Identify common user pain points from meet up presentations
2 participants